<?xml version="1.0" encoding="utf-8"?>
<WITD application="Work item type editor" version="1.0">
  <WORKITEMTYPE name="MMF">
    <DESCRIPTION>The smallest portion of work that could be released into production and have value to the target customers</DESCRIPTION>
    <FIELDS>
      <FIELD type="Integer" name="Id" refname="System.Id">
        <HELPTEXT>Human readable, auto-populated numeric ID.</HELPTEXT>
      </FIELD>
      <FIELD type="String" name="Title" refname="System.Title">
        <HELPTEXT>Short description of the bug used to differentiate it in a list or report.</HELPTEXT>
        <REQUIRED />
      </FIELD>
      <FIELD type="String" name="Assigned To" refname="System.AssignedTo">
        <HELPTEXT>The person assigned to act on the bug either to fix it or to verify the fix.</HELPTEXT>
        <VALIDUSER />
      </FIELD>
      <FIELD type="TreePath" name="Area Path" refname="System.AreaPath">
        <HELPTEXT>The area of the product with which this bug is associated.</HELPTEXT>
      </FIELD>
      <FIELD type="TreePath" name="Iteration Path" refname="System.IterationPath">
        <HELPTEXT>The iteration of the product with which this bug is associated.</HELPTEXT>
      </FIELD>
      <FIELD type="History" name="History" refname="System.History">
        <HELPTEXT>Discussion thread and other historical information.</HELPTEXT>
      </FIELD>
      <FIELD type="String" name="State" refname="System.State">
        <HELPTEXT>The workflow state of the bug.</HELPTEXT>
      </FIELD>
      <FIELD type="String" name="Reason" refname="System.Reason">
        <HELPTEXT>The reason why the bug is in the current state.</HELPTEXT>
      </FIELD>
      <FIELD type="DateTime" name="Changed Date" refname="System.ChangedDate">
        <HELPTEXT>The date and time of the last change to the bug.</HELPTEXT>
      </FIELD>
      <FIELD type="String" name="Changed By" refname="System.ChangedBy">
        <HELPTEXT>The person who last changed the bug.</HELPTEXT>
        <VALIDUSER />
      </FIELD>
      <FIELD type="DateTime" name="Created Date" refname="System.CreatedDate">
        <HELPTEXT>The date and time when was the bug was created.</HELPTEXT>
      </FIELD>
      <FIELD type="String" name="Created By" refname="System.CreatedBy">
        <HELPTEXT>The person who created the bug.</HELPTEXT>
      </FIELD>
      <FIELD type="PlainText" name="Description" refname="System.Description">
        <HELPTEXT>The description of the bug.</HELPTEXT>
      </FIELD>
      <FIELD type="DateTime" name="State Change Date" refname="Microsoft.VSTS.Common.StateChangeDate">
        <HELPTEXT>The date and time of the last change to the state.</HELPTEXT>
        <WHENCHANGED field="System.State">
          <SERVERDEFAULT from="clock" />
        </WHENCHANGED>
        <WHENNOTCHANGED field="System.State">
          <READONLY />
        </WHENNOTCHANGED>
      </FIELD>
      <FIELD reportable="dimension" type="String" name="Rank" refname="Microsoft.VSTS.Common.Rank">
        <HELPTEXT>Stack rank used to prioritize work.</HELPTEXT>
      </FIELD>
      <FIELD reportable="detail" type="String" name="Test Name" refname="Microsoft.VSTS.Test.TestName">
        <HELPTEXT>The name of the test that found this bug.</HELPTEXT>
      </FIELD>
      <FIELD reportable="detail" type="String" name="Test Id" refname="Microsoft.VSTS.Test.TestId">
        <HELPTEXT>The ID of the test that found this bug.</HELPTEXT>
      </FIELD>
      <FIELD reportable="detail" type="String" name="Test Path" refname="Microsoft.VSTS.Test.TestPath">
        <HELPTEXT>The full pathname of the test that found this bug.</HELPTEXT>
      </FIELD>
      <FIELD reportable="dimension" type="String" name="Integration Build" refname="Microsoft.VSTS.Build.IntegrationBuild">
        <HELPTEXT>The build in which the bug was fixed.</HELPTEXT>
        <SUGGESTEDVALUES>
          <LISTITEM value="&lt;None&gt;" />
        </SUGGESTEDVALUES>
      </FIELD>
      <FIELD reportable="dimension" type="String" name="Class Of Service" refname="Codeplex.Kanban2010.ClassOfService">
        <ALLOWEDVALUES>
          <LISTITEM value="Standard" />
          <LISTITEM value="Fixed Delivery Date" />
          <LISTITEM value="Intangible" />
          <LISTITEM value="Expedite" />
        </ALLOWEDVALUES>
      </FIELD>
    </FIELDS>
    <WORKFLOW>
      <STATES>
        <STATE value="Backlog" />
        <STATE value="Elaborate_Q" />
        <STATE value="Elaborate" />
        <STATE value="Development_Q" />
        <STATE value="Development" />
        <STATE value="Test_Q" />
        <STATE value="Test" />
        <STATE value="Release_Q" />
        <STATE value="Release" />
        <STATE value="Done" />
        <STATE value="Cancel" />
      </STATES>
      <TRANSITIONS>
        <TRANSITION from="" to="Backlog">
          <REASONS>
            <DEFAULTREASON value="New" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Backlog" to="Elaborate_Q">
          <REASONS>
            <DEFAULTREASON value="Ready for Elaboration" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Backlog" to="Cancel">
          <REASONS>
            <DEFAULTREASON value="Canceled" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Elaborate_Q" to="Elaborate">
          <REASONS>
            <DEFAULTREASON value="Begin Elaboration" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Elaborate_Q" to="Backlog">
          <REASONS>
            <DEFAULTREASON value="Defer Elaboration" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Elaborate_Q" to="Cancel">
          <REASONS>
            <DEFAULTREASON value="Canceled" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Elaborate" to="Development_Q">
          <REASONS>
            <DEFAULTREASON value="Ready for Development" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Elaborate" to="Backlog">
          <REASONS>
            <DEFAULTREASON value="Defer Development" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Elaborate" to="Cancel">
          <REASONS>
            <DEFAULTREASON value="Canceled" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Development_Q" to="Development">
          <REASONS>
            <DEFAULTREASON value="Begin Development" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Development_Q" to="Backlog">
          <REASONS>
            <DEFAULTREASON value="Defer Development" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Development_Q" to="Cancel">
          <REASONS>
            <DEFAULTREASON value="Canceled" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Development" to="Test_Q">
          <REASONS>
            <DEFAULTREASON value="Ready for Test" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Development" to="Backlog">
          <REASONS>
            <DEFAULTREASON value="Defer Development" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Development" to="Cancel">
          <REASONS>
            <DEFAULTREASON value="Canceled" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Test_Q" to="Test">
          <REASONS>
            <DEFAULTREASON value="Begin Test" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Test_Q" to="Backlog">
          <REASONS>
            <DEFAULTREASON value="Defer Test" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Test_Q" to="Cancel">
          <REASONS>
            <DEFAULTREASON value="Canceled" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Test" to="Release_Q">
          <REASONS>
            <DEFAULTREASON value="Ready for Release" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Test" to="Backlog">
          <REASONS>
            <DEFAULTREASON value="Defer Test" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Release_Q" to="Release">
          <REASONS>
            <DEFAULTREASON value="Begin Release" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Release_Q" to="Backlog">
          <REASONS>
            <DEFAULTREASON value="Defer Release" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Release_Q" to="Cancel">
          <REASONS>
            <DEFAULTREASON value="Canceled" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Release" to="Done">
          <REASONS>
            <DEFAULTREASON value="Work Complete" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Release" to="Backlog">
          <REASONS>
            <DEFAULTREASON value="Defer Release" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Release" to="Cancel">
          <REASONS>
            <DEFAULTREASON value="Canceled" />
          </REASONS>
        </TRANSITION>
      </TRANSITIONS>
    </WORKFLOW>
    <FORM>
      <Layout>
        <Group>
          <Column PercentWidth="100">
            <Control FieldName="System.Title" Type="FieldControl" Label="&amp;Title:" LabelPosition="Left" />
          </Column>
        </Group>
        <Group>
          <Column PercentWidth="100">
            <Group Label="Classification">
              <Column PercentWidth="100">
                <Control FieldName="System.AreaPath" Type="WorkItemClassificationControl" Label="&amp;Area:" LabelPosition="Left" />
                <Control FieldName="System.IterationPath" Type="WorkItemClassificationControl" Label="&amp;Release:" LabelPosition="Left" />
                <Control FieldName="Codeplex.Kanban2010.ClassOfService" Type="FieldControl" Label="&amp;Class Of Service:" LabelPosition="Left" />
              </Column>
            </Group>
          </Column>
        </Group>
        <Group Label="Status">
          <Column PercentWidth="33">
            <Control FieldName="System.State" Type="FieldControl" Label="&amp;State:" LabelPosition="Left" />
            <Control FieldName="Microsoft.VSTS.Build.IntegrationBuild" Type="FieldControl" Label="Integration &amp;Build:" LabelPosition="Left" />
          </Column>
          <Column PercentWidth="33">
            <Control FieldName="Microsoft.VSTS.Common.Rank" Type="FieldControl" Label="Ran&amp;k:" LabelPosition="Left" NumberFormat="WholeNumbers" MaxLength="10" />
          </Column>
          <Column PercentWidth="33">
            <Control FieldName="System.AssignedTo" Type="FieldControl" Label="Assi&amp;gned to:" LabelPosition="Left" />
          </Column>
        </Group>
        <TabGroup>
          <Tab Label="Description">
            <Control FieldName="System.Description" Type="HtmlFieldControl" Label="Des&amp;cription:" LabelPosition="Top" Dock="Fill" />
          </Tab>
          <Tab Label="History">
            <Control FieldName="System.History" Type="WorkItemLogControl" Label="&amp;History:" LabelPosition="Top" Dock="Fill" />
          </Tab>
          <Tab Label="Links">
            <Control Type="LinksControl" LabelPosition="Top" />
          </Tab>
          <Tab Label="File Attachments">
            <Control Type="AttachmentsControl" LabelPosition="Top" />
          </Tab>
          <Tab Label="Details">
            <Group>
              <Column PercentWidth="50">
                <Group Label="Test">
                  <Column PercentWidth="100">
                    <Control FieldName="Microsoft.VSTS.Test.TestName" Type="FieldControl" Label="&amp;Name:" LabelPosition="Left" />
                    <Control FieldName="Microsoft.VSTS.Test.TestId" Type="FieldControl" Label="I&amp;d:" LabelPosition="Left" />
                    <Control FieldName="Microsoft.VSTS.Test.TestPath" Type="FieldControl" Label="&amp;Path:" LabelPosition="Left" />
                  </Column>
                </Group>
              </Column>
            </Group>
          </Tab>
        </TabGroup>
      </Layout>
    </FORM>
  </WORKITEMTYPE>
</WITD>